<%--
  Created by IntelliJ IDEA.
  User: SK
  Date: 2024/6/25
  Time: 21:04
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="字段包.UserBean" %>
<html>
<head>
    <title>Login Success</title>
</head>
<body>
<h2>欢迎回来，master</h2>
<%
    UserBean user = (UserBean) request.getAttribute("user");
    if (user != null) {
%>
<p>ID: <%= user.getId() %></p>
<p>姓名: <%= user.getUserName() %></p>
<p>User Code: <%= user.getUserCode() %></p>
<!-- 其他用户信息... -->
<%
} else {
%>
<p>No user found or session expired.</p>
<%
    }
%>
</body>
</html>
